:root{
    --primary:#20883A;
    --cuman:#4A9782;
    --bg:#009241;
     --mantap:#D6A309;
}

*{
    border: none;
    outline: none;
    text-decoration:none;
    box-sizing: border-box ;
}
body{
  min-height:100vh;
}
/* Reset */
/* Tujuan Sekolah */
 nav {
      background-color:var(--);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: fixed;              /* ✅ membuat navbar tetap di atas */
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;               /* ✅ pastikan di atas elemen lain */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    nav{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index: 9999;
    color:white;
    background-color:var(--primary) ;
}
nav a{
    color:WHITE;
}
.navbar .dropdown-menu li a{
    text-decoration: none;
    color:black;
    transition:all .5s ease;
    font-size:15px;
}
.navbar .dropdown-menu li a:hover{
    color:white;
}
.navbar .dropdown-menu li{
    padding:10px;
}
.navbar .dropdown-menu li:hover{
    background-color:var(--primary);
} 
.navbar-nav{
    gap:20px;
}
.navbar-brand{
    font-size:3rem;
    font-weight:bold;
}
.nav-item{
    font-size:1rem;
}
.navbar-nav .nav-item a{
    font-size:17px;
}

    /* Tambahkan ruang di atas konten agar tidak tertutup navbar */
    main {
      padding-top: 70px;
    }
      .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .logo span {
      font-size: 20px;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }

    /* ====== DROPDOWN ====== */
    .dropdown {
      position: relative;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      background-color: #334155;
      top: 100%;
      left: 0;
      min-width: 150px;
      border-radius: 5px;
      overflow: hidden;
      z-index: 1;
    }

    .dropdown-content a {
      display: block;
      padding: 10px;
      color: white;
      text-decoration: none;
    }

    .dropdown-content a:hover {
      background-color: #475569;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    /* ====== HAMBURGER MENU ====== */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      border-radius: 5px;
      transition: all 0.3s;
    }

    /* ====== SIDEBAR (untuk mobile) ====== */
    .sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 250px;
      height: 100%;
      background-color: #1e293b;
      padding: 60px 20px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      transition: left 0.3s;
      z-index: 999;
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar a {
      color: white;
      text-decoration: none;
      font-size: 18px;
    }

    .sidebar a:hover {
      color: #38bdf8;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 25px;
      cursor: pointer;
      color: white;
    }


.tujuan {
    width:100%;
    background-color: #fff;
    padding: 80px 0;
    min-height:100vh;
  background-image:url(/bg-green.jpg);
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
}
#tujuanid{
    padding:20px;
    padding-bottom:20px;
    border-radius:20px;
     margin-top:7%;
}
.tujuan h3 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 50px;
   font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
    color:var(--mantap);
    font-weight:bold;
}
.tujuan h2{
  color: black;
  font-size:1.7rem;
   font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;

}

.tujuan-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tujuan-card {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary);
}

.tujuan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.tujuan-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #d4af37;
}

.tujuan-card h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #1c1c1c;
  font-family: "Raleway", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight:bold;
}

.tujuan-card p {
    font-size: 0.95em;
    color: #555;
}
 @media (max-width: 768px) {
  html{
    font-size:85%;
  }
      .nav-links {
        display: none;
      }

      .hamburger {
        display: flex;
      }
    }
    @media (max-width:986px) {
       .tujuan{
        margin-top:4rem;
       }
    }
 @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .hamburger {
        display: flex;
      }
    }
    @media (max-width:986px) {
      html{
        font-size:80%;
      }
      
       .tujuan h3{
        font-size: 2.5em;
       }
       .tujuan-wrapper h3{
        font-size:1.8em;
       }
       .h1-clearfix{
        text-align: left;
       }
    }
    @media(max-width:450px){
    html{
        font-size:60%;
    }
}